begin
  require 'batch_site_check'
  require 'batch_create_html'
rescue Exception => e
  File.open(err,'a') {|f|
    f.print "Error:\n"
    f.print e
    f.print "\n"
    f.print "backtrace:\n"
    e.backtrace{|t|
      f.print t + "\n"
    }
  }
end
